<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./Public/css/List/liebiaoye.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/css/font-awesome-4.4.0/css/font-awesome.min.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/List/css/bootstrap-theme.min.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/css/ziku/ziku.css"/>
		<script type="text/javascript" src="./Public/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="./Public/js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="./Public/css/List/js/liebiaoye.js"></script>
		<script src="./Public/css/List/list.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
	<!--顶部灰色区开始-->
		<div id="zol">
			<div class="ding">
				<div class="zuo">
					<span class="shouye"><a href="{{U('Index/index')}}">商城首页</a></span>
					{{if value="isset($_SESSION['home_name']) == null"}}
						<span class="denglu">Hi~欢迎来到ZOL商城，请<a href="{{U('Denglu/index')}}">登录</a></span>
						<span class="zhuce"><a href="{{U('Zhuce/index')}}">免费注册</a></span>
					{{else}}
						<span class="denglu">Hi~欢迎<a href="{{U('Personal/index')}}" style="color: red; font-size: 14px;"> {{$_SESSION['home_name']}} </a>来到ZOL商城! </span>
						<span class="zhuce"><a href="{{U('Index/dell')}}"> 退出</a></span>
					{{endif}}
				</div>
						
				<ul class="you">
					<li><a href="">联系客服</a><i class="fa fa-angle-down "></i></li>
					<li><a href="">商家入驻</a></li>
					<li><a href="">中关村在线</a></li>
					<li><a href=""><i class="fa fa-mobile fa-lg shouji"></i>手机商城</a><i class="fa fa-angle-down "></i></li>
					<li><a href="">帮助中心</a></li>
					<li>|</li>
					<li><a href="">购物车0件</a></li>
					<li class="maijia"><a href="">买家中心</a><i class="fa fa-angle-down "></i></li>
					<li><a href="">我的订单</a></li>	
				</ul>
			</div>		
		</div>		
	<!--顶部灰色区结束-->
	
	
	
	
	<!--搜索区开始-->
		<div id="sousuo">
			<div class="zuo">
				<a href="" class="logo"></a>
				<p>中关村在线旗下网上商城
</p>
			</div>
		
		
			<div class="zhong">
				<form action="" method="post">
					<input class="kuang" type="text" name=""  /><input class="sou" type="submit" value="搜索" />
				</form>
				<div class="iPhone">
					<a href="">iPhone 6s</a>
					<a href="">魅蓝metal</a>
					<a href="">乐视1S</a>
					<a href="">iPhone6</a>
					<a href="">三星A8000</a>
				</div>
			</div>
			
			
			<div class="you">
				<a href=""></a>
			</div>
		</div>
	<!--搜索区结束-->
	
	
{{include file="VIEW_PATH/Common/class.php"}}
	
	
<!--筛选区开始-->
	<div id="shaixuan">
		<div class="shouji">
			<dl>
				<dt>
					<div class="div">
						<a href=""></a>
						<p>苹果</p>
					</div>
				</dt>
				<dd class="youbu">
					<div class="shou">
						<a class="zuo" href=""><i class="fa fa-angle-left fa-lg" ></i></a>
						<a class="zuo a" href=""><i class="fa fa-angle-right fa-lg"></i></a>
						<div class="tutu">
							<ul class="ul">
								<li class="li">
									<a class="shoujitu" href="">
										<img src="./Public/img/111.jpg"/>
									</a>
									<a class="s5" href="">苹果iPhone 6S</a>
								</li>
								<li class="li">
									<a class="shoujitu" href="">
										<img src="./Public/img/222.jpg"/>
									</a>
									<a class="s5" href="">苹果iPhone 5S</a>
								</li>	
								<li class="li">
									<a class="shoujitu" href="">
										<img src="./Public/img/333.jpg"/>
									</a>
									<a class="s5" href="">苹果iPhone 5S</a>
								</li>	
								<li class="li">
									<a class="shoujitu" href="">
										<img src="./Public/img/555.jpg"/>
									</a>
									<a class="s5" href="">苹果iPhone 5S</a>
								</li>	
								<li class="li">
									<a class="shoujitu" href="">
										<img src="./Public/img/444.jpg"/>
									</a>
									<a class="s5" href="">苹果iPhone 5S</a>
								</li>		
							</ul>
						</div>		
					</div>						
				</dd>
			</dl>
		</div>
		<div class="shouye">
			<div class="jian">共 <em>888</em> 件</div>
			<ul class="uu">
				<li class="uu_li"><a href="{{U('Index/index')}}">首页</a></li>
				<li class="jiantou"><i class="fa fa-angle-right fa-lg"></i></li>
				<li class="peijian">
					<div class="peizhili">
						<span class="span">							
 							<a href="">{{$cname}}</a>
 							<i class="fa fa-angle-down fa-lg"></i>
						</span>
					</div>
				</li>
				<li class="jiant"><i class="fa fa-angle-right fa-lg"></i></li>
				<li class="ll">
					<a class="pinpai" href=""><span class="hh">品牌：</span>{{$name['bname']}}</a>
					<i class="fa fa-remove (alias) fa-lg"></i>
				</li>
			</ul>
		</div>
		
		
		<div class="jiage">
			<div class="texing">
				<div class="qt">
				{{foreach from="$temp" key="$k" value="$v"}}
					<dl class="jj">
						<dt class="ee w">{{$v['name']}}：</dt>
						
						<?php 
//								把分配过来的变量再赋个一个临时变量  这样修改这个变量的时候  原变量不会变
							$temps = $param;
//								把0 赋给$temps里面的$k
							$temps[$k] = 0;
						
						 ?>
						 
						<dd class="yuan">
							<ul class="yuany">
								<li class="yuan_l wq"><a class="li_a" href="{{U('List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temps)))}}" {{if value="$param[$k] eq 0"}}id="aa"{{endif}}>不限</a></li>
								{{foreach from="$v['value']" value="$value"}}
								<?php 
									$temps[$k] = $value['did']
								 ?>
								<li class="yuan_l"><a class="li_a" href="{{U('List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temps)))}}" {{if value="$param[$k] eq $temps[$k]"}}id="aa"{{endif}}>{{$value['dattr']}}</a></li>
								{{endforeach}}
							</ul>
						</dd>
					</dl>
				{{endforeach}}
				</div>		
			</div>
			<div class="genduo">
				<a class="du_a" href="">
					<span class="span">更多选项</span>
					<i class="  fa fa-angle-down fa-lg"></i>
				</a>
			</div>
		</div>
	</div>
	
<!--筛选区结束-->
	
	
	
	


<!--图片区开始-->
<div id="tupianqu">
	<div class="moren">
		<ul class="fahuo">
			<li class="mm"><a class="rr" href="">默认</a></li>
			<li class="li_grq"><a class="renqi" href="">高人气</a></li>
			<li class="li_grq"><a class="renqi" href="">高销量</a></li>
			<li class="li_grq"><a class="renqi" href="">价格由低到高</a></li>
			<li class="li_grq"><a class="renqi" href="">价格由高到低</a></li>
			<li class="li_grq "><a class="renqi" href="">发货地<i class="fa fa-caret-down fa-lg tt"></i></a></li>
			<li class="qiana">
				<div class="bb">
					<form action="" method="post">
						<input class="t" type="text" name="" id="" placeholder="￥"/>-
						<input class="t" type="text" name="" id="" placeholder="￥"/>
					</form>
				</div>
			</li>
			<li class="pu">
				<div class="pp">
					<label class="pp_u" for="">
						<input type="checkbox" name="" id="" /> 限量抢购
					</label>
					<label class="pp_u" for="">
						<input type="checkbox" name="" id="" /> 店铺活动
					</label>
				</div>
			</li>
		</ul>
		<div class="yeshu">
			<em>1/4</em>
			<a class="yiye" href=""><i class="fa fa-angle-left fa-lg qi"></i></a>
			<a class="yiye " href=""><i class="fa fa-angle-right fa-lg qi"></i></a>
		</div>
	</div>
</div>

<ul id="ttt">
{{foreach from="$goodsModel" value="$v"}}
	<li class="t_li"> 
		<a class="t_tu" href="{{U('Content/index',array('gid'=>$v['gid'],'cid'=>$_GET['cid']))}}">
			<img src="{{$v['glist']}}"/>
		</a>
		<div class="kaizhang">
			<a class="hao" href="{{U('Content/index',array('gid'=>$v['gid'],'cid'=>$_GET['cid']))}}"><span class="xinkai">【新店开张，购买赠豪礼】</span>{{$v['gname']}}</a>
		</div>
		<div class="may">
			<span class="hehe">￥{{$v['gmall']}}.00</span>
		</div>
		<div class="xiaoliang">
			<span class="xxx">销量数<em>1</em></span>
			<span class="lll">
				评论数
				<a class="plj" href="">15</a>
			</span>
		</div>
		<div class="zhuanying">
			<p class="zhuang">
				<a class="shuma" href="">北京通胜数码专营店</a>
			</p>
		</div>
	</li>
{{endforeach}}
	<!--<li class="t_li">
		<a class="t_tu" href=""></a>
		<div class="kaizhang">
			<a class="hao" href=""><span class="xinkai">【新店开张，购买赠豪礼】</span>苹果 iPhone 6 Plus（移动4G）主屏尺</a>
		</div>
		<div class="may">
			<span class="hehe"> ¥4999.00 </span>
		</div>
		<div class="xiaoliang">
			<span class="xxx">销量数<em>1</em></span>
			<span class="lll">
				评论价
				<a class="plj" href="">0</a>
			</span>
		</div>
		<div class="zhuanying">
			<p class="zhuang">
				<a class="shuma" href="">北京通胜数码专营店</a>
			</p>
		</div>
	</li>-->
</ul>
<!--图片区结束-->
	
	
	
	
<div id="fenye1">
	<div class="shang">
		<ul class="shang1">
			<li class="yi"><i class="fa fa-angle-left fa-lg"></i><a href="">上一页</a></li>
			<li class="shuzi" style="background: red;"><a class="ss" href="">1</a></li>
			<li class="shuzi"><a class="ss" href="">2</a></li>
			<li class="shuzi"><a class="ss" href="">3</a></li>
			<li class="shuzi"><a class="ss" href="">4</a></li>
			<li class="yi er"><a href="">下一页</a><i class="fa fa-angle-right fa-lg"></i></li>
		</ul>
	</div>	
</div>	
	
	
	
	
<div id="hhdd">
	<div class="hd">
		<div class="hdhd">
			<div class="qw">
				<span class="qw_q">正在进行中的活动</span>
			</div>
			<ul class="goule">
				<li class="gl">
					<a class="gl_a" href="">
					</a>
				</li>
				<li class="gl">
					<a class="gl_a" href="">
						<img src="./Public/css/img/a1.jpg"/>
					</a>
				</li>
				<li class="gl">
					<a class="gl_a" href="">
						<img src="./Public/css/img/a2.jpg"/>
					</a>
				</li>
				<li class="gl">
					<a class="gl_a" href="">
						<img src="./Public/css/img/a3.jpg"/>
					</a>
				</li>
			</ul>
		</div>
	</div>
</div>
	
	
	
	
	
	
	
	
<!--底部开始-->
		<div id="dibu">
			<div class="dibu">
				<ul>
					<li><i class=" iconfont">&#xe60c;</i><a href="">行货保证</a></li>
					<li><i class=" tu iconfont">&#xe611;</i><a href="">发票保障</a></li>
					<li><i class=" tu iconfont">&#xe608;</i><a href="">24小时发货</a></li>
					<li><i class=" tu iconfont">&#xe612;</i><a href="">顺丰包邮</a></li>
					<li><i class=" tu iconfont">&#xe613;</i><a href="">无忧退换</a></li>
					<li><i class=" tu iconfont">&#xe610;</i><a href="">先行赔付</a></li>
				</ul>
				<div class="zhinan">
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="gouwu">
						<dt>购物指南</dt>
						<dd>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
							<p><a href="">帐号注册</a></p>
						</dd>	
					</dl>
					<dl class="hezuo">
						<dt>商家合作</dt>
						<dd>
							<p>错过天猫？别再错过我们！</p>
							<p>ZOL商城开启全新旅程！</p>
							<a href="">关于入驻></a> 
						</dd>
					</dl>
					<dl class="guanzhu">
						<dt>400-678-0068</dt>
						<dd>
							<p>工作日 9:00 - 18:00</p>
							<a href="">关注新浪微博</a> 
						</dd>
					</dl>
				</div>
			</div>
			<div class="youqing">
				<div class="di">
					<div class="huoban">
						<div>
							<span>合作伙伴:</span>
							<p>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
								<a href="">挖东西比价网</a>
							</p>
						</div>
						<div class="zaixianl">
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
						</div>
						<div class="guanyul">
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<a href="">限时抢购</a>
							<span class="span">©2015 中关村在线 版权所有. 京ICP备09041801号-182 京ICP证010391号</span>
						</div>
						<div class="xinyu">
							<img src="./Public/css/img/1.jpg"/>
							<img src="./Public/css/img/2.jpg"/>
							<img src="./Public/css/img/3.jpg"/>
						</div>
					</div>				
				</div>
			</div>
		</div>
<!--底部结束-->
	
	
	
	
	
	
	
	
	
	
	</body>
</html>
